package com.braveman.im.ui.adapter;


import android.support.annotation.LayoutRes;
import android.support.annotation.Nullable;

import com.braveman.im.R;
import com.braveman.im.bean.FriendGroupNameBean;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

public class AddFriendsGroupNameNewAdapter extends BaseQuickAdapter<FriendGroupNameBean, BaseViewHolder> {


    public AddFriendsGroupNameNewAdapter(@LayoutRes int layoutResId, @Nullable List<FriendGroupNameBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, FriendGroupNameBean item) {
        helper.setText(R.id.name, item.name);
        helper.setGone(R.id.iv_list_select_item_true, item.isShow);
    }


}
